package com.dhcc.sdc.base.dao;

import com.baomidou.mybatisplus.plugins.Page;
import com.dhcc.core.framework.base.mapper.BaseMapper;
import com.dhcc.sdc.base.entity.ContraindicationEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 病种相关禁忌症
 *
 * @ClassName: SdsBaseContraindicationController
 * @Description: TODO
 * @author zhangjin
 * @date 2022-8-31 09:49:29
 */
public interface ContraindicationMapper extends BaseMapper<ContraindicationEntity> {
	
    List<ContraindicationEntity> list(@Param("map")Map<String, Object> map);
    List<ContraindicationEntity> page(@Param("page") Page<ContraindicationEntity> page, @Param("map")Map<String, Object> map);

    List<ContraindicationEntity> getListByIds(@Param("page") Page<ContraindicationEntity> page, @Param("contraindicationIdList")List<Long> contraindicationIdList);

    List<ContraindicationEntity> queryByName(@Param("page") Page<ContraindicationEntity> page, @Param("map") Map<String, Object> map);
    List<ContraindicationEntity> getListByEntityId(@Param("entityId")Long entityId);

    List<ContraindicationEntity> getByQcincaseId(@Param("incaseId") Long incaseId);
    List<ContraindicationEntity> getListById(@Param("page") Page<ContraindicationEntity> page, @Param("map")Map<String, Object> map);
    List<ContraindicationEntity> getListByIdNew(@Param("page") Page<ContraindicationEntity> page, @Param("map")Map<String, Object> map);

    List<ContraindicationEntity> pageExcludeMatch(@Param("page") Page<ContraindicationEntity> page, @Param("map") Map<String, Object> map, @Param("excludeIds") List<Long> excludeIds);

}

